package com.orange.factoryPatterns.factory;

import com.orange.factoryPatterns.config.ShapeConfig;
import com.orange.factoryPatterns.pojo.Circle;

/**
 * @Description: 专门生产园型的工厂
 */
public class CircleFactory{

    public Circle getCircle(ShapeConfig config){
        Circle circle = new Circle();
        //通过config对circle进行配置
        //.....
        //.....
        //.....
        return circle;
    }
}
